//
//  HLEViewController.m
//  HLETips
//
//  Created by ldb on 05/21/2020.
//  Copyright (c) 2020 ldb. All rights reserved.
//

#import "HLEViewController.h"
#import <HLETips/HLEToastView.h>

@interface HLEViewController ()

@end

@implementation HLEViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    self.view.backgroundColor = UIColor.purpleColor;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)fsdfdsfsf:(id)sender {
    [HLEToastView hideAllTipsInView:self.view];
}
- (IBAction)fdsf:(id)sender {
    NSLog(@"111");
    [HLEToastView showSucceed:@"移除成功" inView:self.view hideAfterDelay:0.5];
//    [HLEToastView showError:@"移除失败" inView:self.view hideAfterDelay:1];
//    [HLEToastView showLoading:@"加载中" inView:self.view hideAfterDelay:0];
//    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
//        [HLEToastView hideAllTipsInView:self.view];
//        [HLEToastView hideAllTips];
//    });
}

@end
